package com.aaa.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TesterVo implements Serializable {
    private Integer id;
    private String name;
    private String phone;
    private Date createTime;
    private Integer testPlanId;
    private String testName;
    private Integer testCode;
    private String type;
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TesterVo)) {
            return false;
        } else {
            TesterVo other = (TesterVo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label107;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label107;
                    }

                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$phone = this.getPhone();
                Object other$phone = other.getPhone();
                if (this$phone == null) {
                    if (other$phone != null) {
                        return false;
                    }
                } else if (!this$phone.equals(other$phone)) {
                    return false;
                }

                label86: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label86;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$testPlanId = this.getTestPlanId();
                    Object other$testPlanId = other.getTestPlanId();
                    if (this$testPlanId == null) {
                        if (other$testPlanId == null) {
                            break label79;
                        }
                    } else if (this$testPlanId.equals(other$testPlanId)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$testName = this.getTestName();
                    Object other$testName = other.getTestName();
                    if (this$testName == null) {
                        if (other$testName == null) {
                            break label72;
                        }
                    } else if (this$testName.equals(other$testName)) {
                        break label72;
                    }

                    return false;
                }

                Object this$testCode = this.getTestCode();
                Object other$testCode = other.getTestCode();
                if (this$testCode == null) {
                    if (other$testCode != null) {
                        return false;
                    }
                } else if (!this$testCode.equals(other$testCode)) {
                    return false;
                }

                Object this$type = this.getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof TesterVo;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $phone = this.getPhone();
        result = result * 59 + ($phone == null ? 43 : $phone.hashCode());
        Object $createTime = this.getCreateTime();
        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $testPlanId = this.getTestPlanId();
        result = result * 59 + ($testPlanId == null ? 43 : $testPlanId.hashCode());
        Object $testName = this.getTestName();
        result = result * 59 + ($testName == null ? 43 : $testName.hashCode());
        Object $testCode = this.getTestCode();
        result = result * 59 + ($testCode == null ? 43 : $testCode.hashCode());
        Object $type = this.getType();
        result = result * 59 + ($type == null ? 43 : $type.hashCode());
        return result;
    }

}
